import { Module } from '@nestjs/common';

import { DepartmentConfigModule } from '@/dingding/department-config/department-config.module';
import { PointsWaitModule } from '@/market/points-wait/points-wait.module';

import { DingdingService } from '../../dingding/dingding.service';
import { AttendanceStatisticsController } from './attendance-statistics.controller';
import { Providers } from './attendance-statistics.providers';
import { AttendanceStatisticsService } from './attendance-statistics.service';

@Module({
  imports: [DepartmentConfigModule, PointsWaitModule],
  controllers: [AttendanceStatisticsController],
  providers: [...Providers, AttendanceStatisticsService, DingdingService],
  exports: [AttendanceStatisticsService],
})
export class AttendanceStatisticsModule {}
